package com.xma.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @Author: arthur
 * @License: (C) Copyright 2020-2028, xxx Corporation Limited.
 * @Contact: 413911174@qq.com
 * @Date: 2020/6/26 21:40
 * @Version: 1.0
 * @Description:
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentFallbackService 服务器提供者 调用失败 paymentInfo_OK 。。。。。";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "PaymentFallbackService 服务器提供者 调用失败 paymentInfo_TimeOut 。。。。。";
    }
}
